package com.zhuidian.mothernote.activity;

import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import com.base.presenter.BasePresenter;
import com.zhuidian.mothernote.R;
import com.zhuidian.mothernote.global.BaseActivity;

public class ClassificationActivity extends BaseActivity {
    private RelativeLayout ll_title;
    private ImageView iv_arrow;
    private TextView tv_title;
    private TextView tv_cancel_subscribe;
    private TextView tv_new;
    private TextView tv_choice;
    private TextView tv_hot;
    private RecyclerView recyclerView;

    @Override
    protected int inflateMainLayoutId() {
        return R.layout.activity_classification;
    }

    @Override
    protected void initView(View view) {
         setTopGone();
        ll_title = (RelativeLayout) view.findViewById(R.id.ll_title);
        iv_arrow = (ImageView) view.findViewById(R.id.iv_arrow);
        tv_title = (TextView) view.findViewById(R.id.tv_title);
        tv_cancel_subscribe = (TextView) view.findViewById(R.id.tv_cancel_subscribe);
        tv_new = (TextView) view.findViewById(R.id.tv_new);
        tv_choice = (TextView) view.findViewById(R.id.tv_choice);
        tv_hot = (TextView) view.findViewById(R.id.tv_hot);
        recyclerView = (RecyclerView) view.findViewById(R.id.recyclerView);
    }

    @Override
    protected void setListener() {
        iv_arrow.setOnClickListener(this);
        tv_cancel_subscribe.setOnClickListener(this);
        tv_new.setOnClickListener(this);
        tv_choice.setOnClickListener(this);
        tv_hot.setOnClickListener(this);
    }

    @Override
    protected BasePresenter getPresenter() {
        return null;
    }

    @Override
    public void onClick(View view) {
        super.onClick(view);
        switch (view.getId()) {
            case R.id.iv_arrow:
                      onBackPressed();
                break;

            case R.id.tv_cancel_subscribe:

                break;
            case R.id.tv_new:

                break;
            case R.id.tv_choice:

                break;
            case R.id.tv_hot:

                break;
        }
    }
}
